Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 113.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 189.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 47.94 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.0856, allocations: 46.61 MB / 375.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003855/0.08949, allocations: 2.712 MB / 378.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.09093, allocations: 0.729 MB / 379.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.09117, allocations: 7.938 kB / 379.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.09139, allocations: 39.58 kB / 379.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.0917, allocations: 87.25 kB / 379.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.09205, allocations: 99.81 kB / 379.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.09257, allocations: 354.5 kB / 379.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.09281, allocations: 88.69 kB / 379.9 MB, free: 424 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.09301, allocations: 131.5 kB / 380.1 MB, free: 292 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.09322, allocations: 155.3 kB / 380.2 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.09329, allocations: 28 kB / 380.3 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.09336, allocations: 32 kB / 380.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.09342, allocations: 63.7 kB / 380.4 MB, free: 12 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1736/0.2671, allocations: 139.4 kB / 380.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.2675, allocations: 330.1 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2675, allocations: 1.984 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2675, allocations: 2.031 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2675, allocations: 0 / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001149/0.2687, allocations: 0.6357 MB / 381.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2687, allocations: 9.625 kB / 381.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.2688, allocations: 32.62 kB / 381.5 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.2692, allocations: 282.2 kB / 381.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.2692, allocations: 18.25 kB / 381.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.2692, allocations: 20.12 kB / 381.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.2698, allocations: 246 kB / 382 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2698, allocations: 5.375 kB / 382 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.2698, allocations: 4.688 kB / 382.1 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2699, allocations: 7.469 kB / 382.1 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/0.2705, allocations: 246.9 kB / 382.3 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.272, allocations: 0.8704 MB / 383.2 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/0.2728, allocations: 240.6 kB / 383.4 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.2732, allocations: 106.3 kB / 383.5 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.2732, allocations: 2.234 kB / 383.5 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/0.2736, allocations: 189.7 kB / 383.7 MB, free: 8.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2736, allocations: 0 / 383.7 MB, free: 8.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002242/0.2759, allocations: 0.664 MB / 384.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2759, allocations: 107 kB / 384.5 MB, free: 8.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.2762, allocations: 262 kB / 384.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2762, allocations: 31.77 kB / 384.8 MB, free: 8.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.2763, allocations: 171.7 kB / 384.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.2763, allocations: 42.86 kB / 385 MB, free: 8.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.2764, allocations: 50.7 kB / 385 MB, free: 8.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.2764, allocations: 337.1 kB / 385.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.2768, allocations: 100.8 kB / 385.4 MB, free: 7.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.2771, allocations: 163.2 kB / 385.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.2777, allocations: 265.1 kB / 385.9 MB, free: 7.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.2778, allocations: 2 kB / 385.9 MB, free: 7.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001127/0.2789, allocations: 436.2 kB / 386.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.2789, allocations: 36.22 kB / 386.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2789, allocations: 2.078 kB / 386.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/0.2793, allocations: 79.16 kB / 386.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.2795, allocations: 42.12 kB / 386.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.2818, allocations: 1.963 MB / 388.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.2821, allocations: 51.23 kB / 388.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.2821, allocations: 7.781 kB / 388.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003016/0.2825, allocations: 175.3 kB / 388.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002602/0.2827, allocations: 147.1 kB / 388.8 MB, free: 5.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004565/0.2832, allocations: 228.4 kB / 389 MB, free: 5.773 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.2832, allocations: 0 / 389 MB, free: 5.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000648/0.2839, allocations: 316.4 kB / 389.3 MB, free: 5.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2839, allocations: 40.81 kB / 389.3 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.2839, allocations: 2.25 kB / 389.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.27e-05/0.284, allocations: 30.55 kB / 389.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.2842, allocations: 46.55 kB / 389.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007536/0.2849, allocations: 1.616 MB / 391 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.2852, allocations: 47.66 kB / 391.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2852, allocations: 11.39 kB / 391.1 MB, free: 3.973 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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 7.455e-05/0.2853, allocations: 194 kB / 391.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.2853, allocations: 23.25 kB / 391.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/0.2854, allocations: 31.39 kB / 391.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2854, allocations: 1 kB / 391.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2854, allocations: 1.062 kB / 391.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2855, allocations: 0.75 kB / 391.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.2857, allocations: 296.2 kB / 391.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2857, allocations: 0 / 391.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.2858, allocations: 25.45 kB / 391.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002421/0.2861, allocations: 80.19 kB / 391.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.2861, allocations: 2.031 kB / 391.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.2879, allocations: 1.755 MB / 393.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2879, allocations: 1.188 kB / 393.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009804/0.2889, allocations: 362 kB / 393.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.289, allocations: 97.06 kB / 393.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.289, allocations: 10.94 kB / 394 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.2893, allocations: 32.98 kB / 394 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.2893, allocations: 26.66 kB / 394 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2894, allocations: 7.578 kB / 394 MB, free: 1.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.2895, allocations: 193.9 kB / 394.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2895, allocations: 0 / 394.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005249/0.2901, allocations: 121.9 kB / 394.3 MB, free: 1.59 MB / 318.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.0001245/0.2902, allocations: 107.7 kB / 394.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.2914, allocations: 0.6907 MB / 395.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2914, allocations: 1.25 kB / 395.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004085/0.2919, allocations: 233.4 kB / 395.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.2922, allocations: 43.98 kB / 395.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/0.2931, allocations: 479.8 kB / 395.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.2933, allocations: 0.7459 MB / 396.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.2933, allocations: 20.61 kB / 396.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2933, allocations: 3.938 kB / 396.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of Templates: time 0.006579/0.2999, allocations: 4.22 MB / 400.9 MB, free: 15.15 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches