Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 205.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 51.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.248, allocations: 53.37 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005528/0.2535, allocations: 4.048 MB / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2555, allocations: 1.223 MB / 437.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.2557, allocations: 19.94 kB / 437.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.2561, allocations: 142.4 kB / 437.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.2565, allocations: 214.2 kB / 438 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.2569, allocations: 219.6 kB / 438.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007657/0.2577, allocations: 0.763 MB / 439 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003531/0.2581, allocations: 195 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.2584, allocations: 298.9 kB / 439.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.2588, allocations: 330.5 kB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.461e-05/0.2589, allocations: 64 kB / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.2591, allocations: 68 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.2592, allocations: 147.5 kB / 440.1 MB, free: 15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.2595, allocations: 290.6 kB / 440.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.2603, allocations: 0.7615 MB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2603, allocations: 7.984 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2603, allocations: 0 / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.2603, allocations: 0 / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001754/0.262, allocations: 0.9499 MB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2621, allocations: 8.031 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.2624, allocations: 96.44 kB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.2629, allocations: 368.2 kB / 442.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.263, allocations: 37.69 kB / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-05/0.2631, allocations: 56.38 kB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.2642, allocations: 0.7252 MB / 443.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2642, allocations: 0 / 443.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.2643, allocations: 24 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.2643, allocations: 16 kB / 443.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009222/0.2652, allocations: 421 kB / 443.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.2681, allocations: 1.56 MB / 445.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.2688, allocations: 346.2 kB / 445.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009981/0.2698, allocations: 421.1 kB / 446.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.2698, allocations: 8.328 kB / 446.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006268/0.2705, allocations: 482.1 kB / 446.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.783e-06/0.2705, allocations: 0 / 446.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003512/0.274, allocations: 1.098 MB / 447.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.2741, allocations: 243.3 kB / 447.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.2746, allocations: 421.8 kB / 448.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.2746, allocations: 33.7 kB / 448.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.2748, allocations: 324.6 kB / 448.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.275, allocations: 146.8 kB / 448.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.2751, allocations: 98.14 kB / 448.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2753, allocations: 354.7 kB / 449.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.2756, allocations: 148.9 kB / 449.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005705/0.2762, allocations: 0.4969 MB / 449.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.277, allocations: 435.4 kB / 450.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.277, allocations: 4 kB / 450.3 MB, free: 4.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00172/0.2787, allocations: 0.7442 MB / 451.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2787, allocations: 15.92 kB / 451.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2787, allocations: 4 kB / 451.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.2793, allocations: 180.7 kB / 451.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.2797, allocations: 79.91 kB / 451.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/0.2838, allocations: 2.64 MB / 454 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.2842, allocations: 83.58 kB / 454.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.2842, allocations: 16 kB / 454.1 MB, free: 320 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.2844, allocations: 181.7 kB / 454.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.2845, allocations: 55.66 kB / 454.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.2846, allocations: 56.8 kB / 454.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2846, allocations: 0 / 454.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2846, allocations: 0 / 454.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2847, allocations: 55.62 kB / 454.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.2848, allocations: 4 kB / 454.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.2851, allocations: 47.92 kB / 454.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.2852, allocations: 39.91 kB / 454.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001647/0.2869, allocations: 0.6505 MB / 455.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001151/0.288, allocations: 0.7131 MB / 455.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003019/0.2883, allocations: 132.4 kB / 456 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.2886, allocations: 291.1 kB / 456.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Backend: time 4.61e-07/0.2886, allocations: 0 / 456.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.2898, allocations: 0.5194 MB / 456.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of SimCode: time 0.001656/0.2915, allocations: 1.438 MB / 458.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Templates: time 0.01384/0.3053, allocations: 8.014 MB / 466.3 MB, free: 4.156 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.547079788004339]