Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 183.1 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 47.92 kB / 370.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2468, allocations: 52.19 MB / 422.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006978/0.2538, allocations: 4.48 MB / 427.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.2568, allocations: 1.23 MB / 428.4 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006523/0.2574, allocations: 15.94 kB / 428.4 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.258, allocations: 134.8 kB / 428.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007022/0.2587, allocations: 210.2 kB / 428.7 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.2593, allocations: 203.6 kB / 428.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.2605, allocations: 0.7552 MB / 429.7 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/0.261, allocations: 199.1 kB / 429.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005613/0.2615, allocations: 290.9 kB / 430.2 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.2621, allocations: 330.5 kB / 430.5 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.2623, allocations: 64 kB / 430.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.2624, allocations: 64 kB / 430.6 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.2626, allocations: 147.4 kB / 430.8 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.263, allocations: 342.3 kB / 431.1 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009364/0.264, allocations: 0.7473 MB / 431.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.264, allocations: 0 / 431.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.264, allocations: 0 / 431.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.619e-05/0.264, allocations: 4 kB / 431.8 MB, free: 5.34 MB / 334.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.00205/0.266, allocations: 0.9383 MB / 432.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.2661, allocations: 12.03 kB / 432.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.2662, allocations: 98.62 kB / 432.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.2664, allocations: 84.47 kB / 433 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.267, allocations: 344.4 kB / 433.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.267, allocations: 45.69 kB / 433.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.537e-05/0.2671, allocations: 52.12 kB / 433.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.2682, allocations: 0.5496 MB / 434 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.2682, allocations: 11.88 kB / 434 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/0.2683, allocations: 24 kB / 434 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.2683, allocations: 15.98 kB / 434 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009251/0.2692, allocations: 417 kB / 434.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003273/0.2725, allocations: 1.755 MB / 436.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007555/0.2733, allocations: 351.9 kB / 436.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.2743, allocations: 417.1 kB / 436.9 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.2743, allocations: 4.328 kB / 436.9 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005846/0.2749, allocations: 306.3 kB / 437.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.2749, allocations: 0 / 437.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003555/0.2784, allocations: 1.106 MB / 438.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.2786, allocations: 239.3 kB / 438.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.2791, allocations: 429.9 kB / 439 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.2792, allocations: 37.7 kB / 439 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.2795, allocations: 308.8 kB / 439.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.2796, allocations: 146.8 kB / 439.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.2798, allocations: 94.14 kB / 439.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2799, allocations: 362.7 kB / 439.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.2803, allocations: 148.9 kB / 440.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.2807, allocations: 321 kB / 440.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/0.2815, allocations: 443.2 kB / 440.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2815, allocations: 0 / 440.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001761/0.2833, allocations: 0.7441 MB / 441.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.2833, allocations: 8 kB / 441.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.2833, allocations: 11.94 kB / 441.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.284, allocations: 188.7 kB / 441.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.2843, allocations: 79.89 kB / 441.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004275/0.2886, allocations: 2.698 MB / 444.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.2891, allocations: 75.64 kB / 444.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.2891, allocations: 20.05 kB / 444.6 MB, free: 7.992 MB / 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.0002731/0.2894, allocations: 189.8 kB / 444.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.2895, allocations: 51.67 kB / 444.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.2896, allocations: 56.81 kB / 444.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2896, allocations: 4 kB / 444.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2896, allocations: 0 / 444.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2896, allocations: 3.984 kB / 444.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.2919, allocations: 1.222 MB / 446.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2919, allocations: 0 / 446.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.2921, allocations: 47.91 kB / 446.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005334/0.2926, allocations: 184.6 kB / 446.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.2927, allocations: 15.98 kB / 446.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00415/0.2968, allocations: 2.667 MB / 449.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2968, allocations: 0 / 449.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.2987, allocations: 0.9104 MB / 450 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.2989, allocations: 55.64 kB / 450 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.2989, allocations: 8 kB / 450 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.2993, allocations: 43.91 kB / 450.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/0.2994, allocations: 35.88 kB / 450.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.2994, allocations: 15.98 kB / 450.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003444/0.2998, allocations: 299.2 kB / 450.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2998, allocations: 0 / 450.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006651/0.3004, allocations: 179.7 kB / 450.6 MB, free: 1.836 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002259/0.3027, allocations: 1.466 MB / 452.1 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.3039, allocations: 0.5613 MB / 452.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3039, allocations: 0 / 452.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006848/0.3046, allocations: 370.8 kB / 453 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3051, allocations: 90.36 kB / 453.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007899/0.313, allocations: 4.847 MB / 457.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.3136, allocations: 0.8633 MB / 458.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.3138, allocations: 52.36 kB / 458.8 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.314, allocations: 179.4 kB / 459 MB, free: 9.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.314, allocations: 3.938 kB / 459 MB, free: 9.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04895/0.363, allocations: 12.42 MB / 471.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.54, allocations: 2.656 kB / 471.4 MB, free: 12.95 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.955457001924515]