Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001819/0.001819, 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.002093/0.002093, allocations: 183.9 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.397/1.397, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 51.84 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.245, allocations: 52.17 MB / 422.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004442/0.2494, allocations: 2.965 MB / 425.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2508, allocations: 0.7362 MB / 426.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.251, allocations: 4 kB / 426.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.2512, allocations: 51.5 kB / 426.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.2514, allocations: 103.2 kB / 426.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.2517, allocations: 119.8 kB / 426.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.2522, allocations: 422.4 kB / 427 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.2525, allocations: 87.67 kB / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.2527, allocations: 163.4 kB / 427.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.253, allocations: 175.3 kB / 427.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.766e-05/0.253, allocations: 40 kB / 427.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.734e-05/0.2531, allocations: 43.94 kB / 427.5 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.2532, allocations: 75.77 kB / 427.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.2534, allocations: 179.2 kB / 427.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.2539, allocations: 450.7 kB / 428.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2539, allocations: 0 / 428.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2539, allocations: 0 / 428.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.2539, allocations: 0 / 428.2 MB, free: 9.023 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00132/0.2552, allocations: 0.6092 MB / 428.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2552, allocations: 8.031 kB / 428.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.878e-05/0.2553, allocations: 66.66 kB / 428.9 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.2554, allocations: 36.75 kB / 428.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.2558, allocations: 241.9 kB / 429.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2558, allocations: 20.88 kB / 429.2 MB, free: 7.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.2559, allocations: 28.31 kB / 429.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.2566, allocations: 338.7 kB / 429.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2566, allocations: 0 / 429.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.2567, allocations: 11.94 kB / 429.6 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.2567, allocations: 8 kB / 429.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000824/0.2575, allocations: 281.8 kB / 429.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.2595, allocations: 1.104 MB / 431 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/0.2603, allocations: 242.5 kB / 431.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.2607, allocations: 104.7 kB / 431.3 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.2607, allocations: 0 / 431.3 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004823/0.2612, allocations: 181.9 kB / 431.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.2612, allocations: 0 / 431.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002326/0.2635, allocations: 0.5916 MB / 432.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/0.2636, allocations: 106.8 kB / 432.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.2639, allocations: 285.8 kB / 432.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.264, allocations: 33.7 kB / 432.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2641, allocations: 196 kB / 432.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.2642, allocations: 55.62 kB / 432.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.2643, allocations: 45.94 kB / 432.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.2645, allocations: 338.8 kB / 433.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.2648, allocations: 108.1 kB / 433.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.2652, allocations: 209.3 kB / 433.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007335/0.266, allocations: 320.6 kB / 433.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.266, allocations: 0 / 433.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001295/0.2673, allocations: 486.8 kB / 434.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.2673, allocations: 33.7 kB / 434.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2673, allocations: 7.938 kB / 434.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.2677, allocations: 84.86 kB / 434.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.2679, allocations: 59.89 kB / 434.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.271, allocations: 1.949 MB / 436.3 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.2714, allocations: 55.75 kB / 436.4 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.2714, allocations: 19.92 kB / 436.4 MB, free: 356 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.2716, allocations: 153.2 kB / 436.6 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.2717, allocations: 23.81 kB / 436.6 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.2717, allocations: 29.77 kB / 436.6 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2717, allocations: 0 / 436.6 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2717, allocations: 4 kB / 436.6 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.2717, allocations: 0 / 436.6 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.2721, allocations: 300.5 kB / 436.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2721, allocations: 0 / 436.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.2722, allocations: 19.98 kB / 436.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003051/0.2725, allocations: 92.86 kB / 437 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.2726, allocations: 0 / 437 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002664/0.2752, allocations: 1.887 MB / 438.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.2752, allocations: 4.031 kB / 438.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.2763, allocations: 368.5 kB / 439.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.2764, allocations: 27.84 kB / 439.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.2764, allocations: 7.938 kB / 439.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.2767, allocations: 31.95 kB / 439.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.2768, allocations: 23.97 kB / 439.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.2768, allocations: 0 / 439.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002532/0.277, allocations: 205.2 kB / 439.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.277, allocations: 4 kB / 439.6 MB, free: 13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004532/0.2775, allocations: 79.83 kB / 439.6 MB, free: 12.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/0.279, allocations: 0.905 MB / 440.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.2805, allocations: 494.3 kB / 441 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2805, allocations: 8 kB / 441 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.281, allocations: 226.5 kB / 441.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.2814, allocations: 56.58 kB / 441.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007831/0.2892, allocations: 3.584 MB / 444.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.2896, allocations: 0.7596 MB / 445.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.2897, allocations: 26.28 kB / 445.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.2898, allocations: 91.34 kB / 445.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2898, allocations: 0 / 445.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.3272, allocations: 7.036 MB / 452.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.94, allocations: 8.297 kB / 452.8 MB, free: 15.66 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.230925895972177]