Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001736/0.001736, allocations: 111.6 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002009/0.002009, allocations: 209.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.5 MB / 258.2 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 59.91 kB / 378.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009836/0.3098, allocations: 8.062 MB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.3137, allocations: 1.819 MB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007084/0.3144, allocations: 39.75 kB / 441.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.3149, allocations: 241.6 kB / 442.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009556/0.3159, allocations: 476.1 kB / 442.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/0.3167, allocations: 427.5 kB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.3187, allocations: 1.782 MB / 444.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007826/0.3195, allocations: 444.5 kB / 445.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009526/0.3204, allocations: 0.6578 MB / 445.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009238/0.3214, allocations: 0.7272 MB / 446.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.3216, allocations: 184 kB / 446.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.3218, allocations: 180 kB / 447 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.3221, allocations: 362.7 kB / 447.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007435/0.3229, allocations: 0.8008 MB / 448.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.3251, allocations: 2.106 MB / 450.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3251, allocations: 4 kB / 450.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.3251, allocations: 4 kB / 450.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.852e-05/0.3251, allocations: 0 / 450.3 MB, free: 4.336 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003032/0.3281, allocations: 1.681 MB / 452 MB, free: 2.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3282, allocations: 12.03 kB / 452 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.991e-05/0.3282, allocations: 34.77 kB / 452 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002204/0.3284, allocations: 194.4 kB / 452.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.3287, allocations: 171.9 kB / 452.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.33, allocations: 0.7339 MB / 453.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.74e-05/0.3301, allocations: 94.58 kB / 453.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.3302, allocations: 128 kB / 453.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.3324, allocations: 1.264 MB / 454.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.3324, allocations: 3.938 kB / 454.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.3325, allocations: 52 kB / 454.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.3325, allocations: 32 kB / 454.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.3344, allocations: 1.013 MB / 455.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007457/0.3418, allocations: 4.365 MB / 460 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.3433, allocations: 0.84 MB / 460.9 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007992/0.3441, allocations: 431.2 kB / 461.3 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/0.3442, allocations: 13 kB / 461.3 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.3442, allocations: 51.48 kB / 461.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 2.765e-06/0.3442, allocations: 0 / 461.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.005157/0.3494, allocations: 1.722 MB / 463.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.3494, allocations: 90.11 kB / 463.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.3505, allocations: 0.8098 MB / 464 MB, free: 6.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.971e-05/0.3506, allocations: 41.7 kB / 464 MB, free: 6.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/0.3511, allocations: 0.6056 MB / 464.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.3514, allocations: 337 kB / 465 MB, free: 5.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.3516, allocations: 178.9 kB / 465.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3518, allocations: 349.9 kB / 465.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/0.3524, allocations: 302.5 kB / 465.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007868/0.3532, allocations: 0.5023 MB / 466.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.3545, allocations: 0.8204 MB / 467.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3545, allocations: 0 / 467.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002905/0.3574, allocations: 1.322 MB / 468.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3574, allocations: 10.5 kB / 468.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.3574, allocations: 4 kB / 468.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.359, allocations: 404.7 kB / 468.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.3597, allocations: 195.7 kB / 469 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.3717, allocations: 10.21 MB / 479.2 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/0.3727, allocations: 127 kB / 479.3 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.3728, allocations: 36 kB / 479.4 MB, free: 5.914 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (firstOrder2A.opAmp.satNeg,firstOrder2A.opAmp.satPos,addA.opAmp.satNeg,addA.opAmp.satPos,firstOrder1A.opAmp.satNeg,firstOrder1A.opAmp.satPos,PIA.opAmp.satNeg,PIA.opAmp.satPos,feedbackA.opAmp.satNeg,feedbackA.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006224/0.3734, allocations: 294.5 kB / 479.7 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.3736, allocations: 111.3 kB / 479.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.3738, allocations: 114.1 kB / 479.9 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.3738, allocations: 8 kB / 479.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.3739, allocations: 0 / 479.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3739, allocations: 3.984 kB / 479.9 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/0.3779, allocations: 2.22 MB / 482.1 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.3779, allocations: 4 kB / 482.1 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.3785, allocations: 127.9 kB / 482.3 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.3799, allocations: 392.7 kB / 482.6 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.3799, allocations: 20 kB / 482.7 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/0.3917, allocations: 10.24 MB / 492.9 MB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.3917, allocations: 4.031 kB / 492.9 MB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/0.3953, allocations: 1.635 MB / 494.5 MB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/0.3956, allocations: 123.1 kB / 494.7 MB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.3958, allocations: 24 kB / 494.7 MB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.3966, allocations: 87.92 kB / 494.8 MB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.3968, allocations: 84.78 kB / 494.8 MB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-05/0.3969, allocations: 28 kB / 494.9 MB, free: 5.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008901/0.3978, allocations: 0.5575 MB / 495.4 MB, free: 5.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3978, allocations: 0 / 495.4 MB, free: 5.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00157/0.3993, allocations: 387.3 kB / 495.8 MB, free: 4.629 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 10 (feedbackA.opAmp.satPos,feedbackA.opAmp.satNeg,PIA.opAmp.satPos,PIA.opAmp.satNeg,firstOrder1A.opAmp.satPos,firstOrder1A.opAmp.satNeg,addA.opAmp.satPos,addA.opAmp.satNeg,firstOrder2A.opAmp.satPos,firstOrder2A.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003563/0.4029, allocations: 2.218 MB / 498 MB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002564/0.4054, allocations: 1.517 MB / 499.5 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.4055, allocations: 8.25 kB / 499.6 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.4071, allocations: 1.154 MB / 0.489 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.4083, allocations: 224.9 kB / 0.4892 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.4246, allocations: 9.092 MB / 0.4981 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.4257, allocations: 1.117 MB / 0.4992 GB, free: 4.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005044/0.4262, allocations: 95.95 kB / 0.4992 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006119/0.4268, allocations: 455.3 kB / 0.4997 GB, free: 4.215 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4268, allocations: 0 / 0.4997 GB, free: 4.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/0.5311, allocations: 27.12 MB / 0.5262 GB, free: 9.348 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.4, allocations: 11.98 kB / 0.5262 GB, free: 9.336 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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: 18.305311553005595]